package hibernateUtil;

public class Battlefield {
	private int id;
	private String name ;
	private int mapid;
	private int battleType;
	private int maxplayercount;
	private int winMoney;
	private int winPVPPoint;
	private int winExp;
	private int winItemID;
	private int loseMoney;
	private int losePVPPoint;
	private int loseExp;
	private int loseItemID;
	private int finishScore;
	private int monsterScore;
	private int flagScore;
	private int bossHP;
	
	public Battlefield()
	{

	}
	public Battlefield(int id, String name, int mapid, int battleType,
			int maxplayercount, int winMoney, int winPVPPoint, int winExp,
			int winItemID, int loseMoney, int losePVPPoint, int loseExp,
			int loseItemID, int finishScore, int monsterScore, int flagScore,
			int bossHP)
	{
		super();
		this.id = id;
		this.name = name;
		this.mapid = mapid;
		this.battleType = battleType;
		this.maxplayercount = maxplayercount;
		this.winMoney = winMoney;
		this.winPVPPoint = winPVPPoint;
		this.winExp = winExp;
		this.winItemID = winItemID;
		this.loseMoney = loseMoney;
		this.losePVPPoint = losePVPPoint;
		this.loseExp = loseExp;
		this.loseItemID = loseItemID;
		this.finishScore = finishScore;
		this.monsterScore = monsterScore;
		this.flagScore = flagScore;
		this.bossHP = bossHP;
	}
	public int getid()
	{
		return id;
	}
	public void setid(int id)
	{
		this.id = id;
	}
	public String getname()
	{
		return name!=null?this.name:"";
	}
	public void setname(String name)
	{
		this.name = name;
	}
	public int getmapid()
	{
		return mapid;
	}
	public void setmapid(int mapid)
	{
		this.mapid = mapid;
	}
	public int getbattleType()
	{
		return battleType;
	}
	public void setbattleType(int battleType)
	{
		this.battleType = battleType;
	}
	public int getmaxplayercount()
	{
		return maxplayercount;
	}
	public void setmaxplayercount(int maxplayercount)
	{
		this.maxplayercount = maxplayercount;
	}
	public int getwinMoney()
	{
		return winMoney;
	}
	public void setwinMoney(int winMoney)
	{
		this.winMoney = winMoney;
	}
	public int getwinPVPPoint()
	{
		return winPVPPoint;
	}
	public void setwinPVPPoint(int winPVPPoint)
	{
		this.winPVPPoint = winPVPPoint;
	}
	public int getwinItemID()
	{
		return winItemID;
	}
	public void setwinItemID(int winItemID)
	{
		this.winItemID = winItemID;
	}
	public int getwinExp()
	{
		return winExp;
	}
	public void setwinExp(int winExp)
	{
		this.winExp = winExp;
	}
	public int getloseMoney()
	{
		return loseMoney;
	}
	public void setloseMoney(int losemoney)
	{
		this.loseMoney = losemoney;
	}
	public int getflagScore()
	{
		return flagScore;
	}
	public void setflagScore(int flagScore)
	{
		this.flagScore = flagScore;
	}
	public int getbossHP()
	{
		return bossHP;
	}
	public void setbossHP(int bossHP)
	{
		this.bossHP = bossHP;
	}
	public int getfinishScore()
	{
		return finishScore;
	}
	public void setfinishScore(int finishScore)
	{
		this.finishScore = finishScore;
	}
	public int getloseItemID()
	{
		return loseItemID;
	}
	public void setloseItemID(int loseItemID)
	{
		this.loseItemID = loseItemID;
	}
	public int getloseExp()
	{
		return loseExp;
	}
	public void setloseExp(int loseExp)
	{
		this.loseExp = loseExp;
	}
	public int getlosePVPPoint()
	{
		return losePVPPoint;
	}
	public void setlosePVPPoint(int losePVPPoint)
	{
		this.losePVPPoint = losePVPPoint;
	}
	public int getmonsterScore()
	{
		return monsterScore;
	}
	public void setmonsterScore(int monsterScore)
	{
		this.monsterScore = monsterScore;
	}
	
}
